package com.leinao.project.dao;

import com.leinao.job.dto.JobInfoDto;
import com.leinao.job.dto.ProjectJobViewDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: weiwei
 * @Date: 2019/6/6 15:25
 * @Description:
 * @Version 1.0
 */
@Repository
public interface PublicProjectMapper {

    Integer getProjectType(@Param("projectId")Long projectId);

    List<JobInfoDto> getProjectPublicJob(@Param("projectId") Long projectId);

    ProjectJobViewDto getUserPublicTaskDetail(@Param("publicJobId") Long publicJobId);

    String getPublicJobConfig(@Param("publicJobId")  Long publicJobId);
}
